// 经营信息管理
import request from '@/plugins/request';

// 列表
export function busiInfoGetPage (data) {
  return request({
    url: '/platform/sys/busiInfo/getPage',
    method: 'post',
    data
  })
}
// 详情
export function busiInfoGetData (data) {
  return request({
    url: '/platform/sys/busiInfo/getData',
    method: 'post',
    data
  })
}
// 审核
export function busiInfoAudit (data) {
  return request({
    url: '/platform/sys/busiInfo/audit',
    method: 'post',
    data
  })
}
// 根据产业标记获取公司信息
export function getCompanySelectByCompanyServiceTypeId (data) {
  return request({
    url: '/global/base/getCompanySelectByCompanyServiceTypeId',
    method: 'post',
    data
  })
}
// 重复率
export function busiInfoGetRepeatData (data) {
  return request({
    url: '/platform/sys/busiInfo/getRepeatData',
    method: 'post',
    data
  })
}
// 查看源信息
export function busiInfoGetRootData (data) {
  return request({
    url: '/platform/sys/busiInfo/getRootData',
    method: 'post',
    data
  })
}
// 获取系统组织架构
export function getOrgTree (data) {
  return request({
    url: '/platform/sys/org/getOrgTree',
    method: 'post',
    data
  })
}
// 变更历史记录列表
export function busiInfoGetChangeData (data) {
  return request({
    url: '/platform/sys/busiInfo/getChangeData',
    method: 'post',
    data
  })
}
// 变更历史记录详情查询
export function busiInfoGetHistoryData (data) {
  return request({
    url: '/platform/sys/busiInfo/getHistoryData',
    method: 'post',
    data
  })
}
// 经营信息一张图- 按项目查
export function busiInfoMapGetByPage (data) {
  return request({
    url: '/platform/sys/busiInfoMap/getByPage',
    method: 'post',
    data
  })
}
// 经营信息一张图- 按公司查
export function busiInfoMapGetBusInfoTraceCountByCompany (data) {
  return request({
    url: '/platform/sys/busiInfoMap/getBusInfoTraceCountByCompany',
    method: 'post',
    data
  })
}
// 经营信息一张图- 查某个公司下的项目
export function busiInfoMapGetBusiInfoTrackByPage (data) {
  return request({
    url: '/platform/sys/busiInfoMap/getBusiInfoTrackByPage',
    method: 'post',
    data
  })
}
// 反馈详情
export function busInfoTrackGetDetail (data) {
  return request({
    url: '/platform/sys/busiInfoMap/getBusiInfoTrackDetail',
    method: 'post',
    data
  })
}

// 经营预警列表
export function busiInfoForewarningpPageList (data) {
  return request({
    url: '/platform/busiInfoForewarning/pageList',
    method: 'post',
    data
  })
}
// 经营预警- 接收详情
export function getNotReceiveDetail (data) {
  return request({
    url: '/platform/busiInfoForewarning/getNotReceiveDetail',
    method: 'post',
    data
  })
}
// 经营预警-反馈详情
export function getNotFeedbackDetail (data) {
  return request({
    url: '/platform/busiInfoForewarning/getNotFeedbackDetail',
    method: 'post',
    data
  })
}
// 经营预警-发送短信
export function sendForewarningSms (data) {
  return request({
    url: '/platform/busiInfoForewarning/sendForewarningSms',
    method: 'post',
    data
  })
}
// 变更历史记录2
export function busiInfoGetChangePage (data) {
  return request({
    url: '/platform/sys/busiInfo/getChangePage',
    method: 'post',
    data
  })
}